package com.ren.mianshi.db.dao;

import androidx.room.Delete;
import androidx.room.Insert;
import androidx.room.Update;

/**
 * @author renheng
 * @Description
 * @date 2021/1/20
 */

public abstract class BaseDao<T> {

    @Insert
    public abstract void insert(T... entity);

    @Update
    public abstract int update(T entity);

    @Delete
    public abstract int delete(T... entity);


}
